package cn.dzhang.rcp.hyperbola.common;

import static cn.dzhang.rcp.hyperbola.common.UIUtils.getImage;
import static cn.dzhang.rcp.hyperbola.common.UIUtils.getImageDescriptor;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Image;

public interface UIConstants {
	public interface Colors {
		Color DEFAULT_BACKGROUND_COLOR = SWTResourceManager.getColor(231, 243,
				255);
	}

	public interface ImagePaths {
		public static final String ONLINE = "icons/online.gif";
		public static final String OFFLINE = "icons/offline.gif";
		public static final String DO_NOT_DISTURB = "icons/dnd.gif";
		public static final String GROUP = "icons/group.gif";
		public static final String AWAY = "icons/away.gif";
		public static final String ADD_CONTACT = "icons/user_add16.png";
		public static final String EMAIL_SEND_RECEIVE_16 = "icons/email_send_receive16.png";
		public static final String EMAIL_SEND_RECEIVE_32 = "icons/email_send_receive32.png";
		public static final String COMMENTS_ADD_16 = "icons/comments_add16.png";
		public static final String COMMENTS_ADD_32 = "icons/comments_add32.png";
		public static final String COMMENT_16 = "icons/comment16.png";
		public static final String COMMENT_32 = "icons/comment32.png";
		public static final String EXIT_16 = "icons/exit16.png";
		public static final String EXIT_32 = "icons/exit32.png";
		public static final String SHRINK_16 = "icons/shrink16.png";
		public static final String USER_32 = "icons/user32.png";
	}

	public interface Images {
		Image EMAIL_SEND_RECEIVE_16 = getImage(ImagePaths.EMAIL_SEND_RECEIVE_16);
		Image USER_32 = getImage(ImagePaths.USER_32);
		Image ONLINE = getImage(ImagePaths.ONLINE);
	}

	public interface ImageDescriptors {
		ImageDescriptor EXIT_16 = getImageDescriptor(ImagePaths.EXIT_16);
		ImageDescriptor EXIT_32 = getImageDescriptor(ImagePaths.EXIT_32);

		ImageDescriptor EMAIL_SEND_RECEIVE_16 = getImageDescriptor(ImagePaths.EMAIL_SEND_RECEIVE_32);
		ImageDescriptor EMAIL_SEND_RECEIVE_32 = getImageDescriptor(ImagePaths.EMAIL_SEND_RECEIVE_32);

		ImageDescriptor COMMENTS_ADD_16 = getImageDescriptor(ImagePaths.COMMENTS_ADD_16);
		ImageDescriptor COMMENTS_ADD_32 = getImageDescriptor(ImagePaths.COMMENTS_ADD_32);

		ImageDescriptor COMMENT_16 = getImageDescriptor(ImagePaths.COMMENT_16);
		ImageDescriptor COMMENT_32 = getImageDescriptor(ImagePaths.COMMENT_32);

		ImageDescriptor SHRINK_16 = getImageDescriptor(ImagePaths.SHRINK_16);;
	}
}
